import http from "@/api/http";

//获取用户反馈信息
export const postFeedbackList = (params: any) => {
  return http.post(`/feedback/list`, params);
};

//反馈给用户信息
export const putFeedBack = (params: any) => {
  return http.post(`/feedback/reply`, params);
};

//删除反馈
export const deleteById = (id: string) => {
  return http.delete(`/feedback/delete/${id}`);
};

//批量删除反馈
export const deleteAllId = (params: any) => {
  return http.delete(`/feedback/delete`, params);
};
